package com.dao.secondary.device;
import com.model.domain.device.GetDevicePmdWorkRecordInfoDO;
import com.model.pojo.device.DevicePmdWorkRecordInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DevicePmdWorkRecordInfoMapper {
    int deleteByPrimaryKey(@Param("devicePmdWorkRecordInfoId") Long devicePmdWorkRecordInfoId);

    int insert(DevicePmdWorkRecordInfo record);

    int insertSelective(DevicePmdWorkRecordInfo record);

    DevicePmdWorkRecordInfo selectByPrimaryKey(@Param("devicePmdWorkRecordInfoId") Long devicePmdWorkRecordInfoId, @Param("isDelete") Byte isDelete);

    int updateByPrimaryKeySelective(DevicePmdWorkRecordInfo record);

    int updateByPrimaryKey(DevicePmdWorkRecordInfo record);

    List<DevicePmdWorkRecordInfo> selectList(GetDevicePmdWorkRecordInfoDO getdevicePmdWorkRecordInfoDO);

    void insertListSelective(List<DevicePmdWorkRecordInfo> devicePmdWorkRecordInfoList);

    void updateListSelective(List<DevicePmdWorkRecordInfo> devicePmdWorkRecordInfoList);

    int has(@Param("devicePmdWorkRecordInfoId") Long devicePmdWorkRecordInfoId, @Param("isDelete") Byte isDelete);
}